import Home from '@/pages/Home'
import About from '@/pages/About'
import Message from '@/pages/Message'
import Setting from "@/pages/Setting";
import Other from "@/pages/other";
import Ant from "@/pages/Ant/antIndex"
import NewPage from "@/pages/NewPage";

const pageList = {
  home: {
    title: '首页',
    name: 'home',
    component: Home
  },
  about: {
    title: '关于',
    name: 'about',
    component: About
  },
  message: {
    title: '消息',
    name: 'message',
    component: Message
  },
  test: {
    title: '测试',
    name: 'test',
    component: NewPage
  },
  more: {
    title: '更多',
    name: 'more',
    subPages: {
      setting: {
        title: '设置',
        name: 'setting',
        component: Setting
      },
      other: {
        title: '其他',
        name: 'other',
        component: Other
      },
      ant: {
        title: 'Ant',
        name: 'ant',
        component: Ant
      }

    }
  }

};


export default pageList;
